package com.fc.mall.portal.controller;

import com.fc.mall.base.object.Result;
import com.fc.mall.portal.service.SmsFriendsCirclesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by sunny on 2019/10/15.
 */
@RestController
@RequestMapping("/sms/friends/circles")
public class SmsFriendsCirclesController {

    @Autowired
    private SmsFriendsCirclesService friendsCirclesService;
    @GetMapping("list")
    public Result handleGetList()
    {
        return Result.success(friendsCirclesService.getList());
    }
}
